package com.bm.constant;

import org.springframework.boot.test.mock.mockito.SpyBean;

/**
 * @author 86134
 * @version 1.0
 * @description TODO
 * @date 2024/1/27 17:36
 */

public class Constants {
    //存入redis中验证码的key
    public static final String VALIDATE_CODE_REDIS_KEY = "user:validate";
    //存入redis中token的key
    public static final String REDIS_TOKEN_KEY = "user:token";
    //登录的url
    public static final String LOGIN_URL = "/user/account_login";
    //验证码的url
    public static final String CAPTCHA_URL = "/user/captcha";

    public static final String SWAGGER_DOC = "/doc.html";

    public static final int FITMENT_STEP = 1;

    public static final int PROPERTY_COMPANY_ALLOW_STEP = 2;

    public static final int USER_FINISH_FITMENT_STEP = 3;

    public static final int PROPERTY_COMPANY_CONFIRM_STEP = 4;

    public static final Long ADMIN_ID = 1L;

    /**
     * 业主提交 客服调拨 维修上门 维修完成 评价
     * 1 已提交，待客服响应
     * 2 分配xxx进行维修
     * 3 维修人员正在赶往处置
     * 4 维修完成
     */

    public static final int  SUBMIT_REPAIR_STEP = 1;
    public static final int  ALLOT_REPAIR_STEP = 2;
    public static final int  CONFIRM_REPAIR_STEP = 3;
    public static final int  FINISH_REPAIR_STEP = 4;

    public static final Byte AUTHENTICTED_BY_PROPERTY_COMPANY = 2;

    public static final Long EXPRIE_Time = 7L;

}
